//
//  main.m
//  Class
//
//  Created by liuchengming on 16/4/15.
//  Copyright © 2016年 liuchengming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "furniture.h"
#import "cactus.h"
#import "roses.h"
int main(int argc, const char * argv[]) {
    @autoreleasepool
    {
        furniture *f =[[furniture alloc]init];
        f.name=@"植物";
        cactus *c =[[cactus alloc]init];
        c.name=@"仙人掌";
        roses *r =[[roses alloc]init];
        r.name=@"玫瑰花";
        
        [f growth];
        [c growth];
        [c thorns];
        [r growth];
        [r thorns];
        [r flowering];
        
    }
    return 0;
}
